package com.example.demo.project.entity;

import com.example.demo.project.entity.qqto.OneNews;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Data
@Document(value = "newList")
public class QQNews {
    @Id
    private String id;
    private String newsId;
    private List<OneNews> news;
}

